package net.dgg.iboss.sc.backservice.task.dao.credential;


import net.dgg.iboss.sc.backservice.task.entity.credentail.BaseCredential;
import net.dgg.iboss.sc.backservice.task.entity.credentail.GeneralCertificate;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface BaseCredentialDao {

    /**
     * 批量修改指定字段
     *
     * @param generalCredentails
     */
    void updateByFileds(GeneralCertificate generalCertificate);

    /*
     * @Author zsx
     * @Date 2018-09-14 04:09:57
     * @Description
     */
    void updateBaseByFileds(BaseCredential baseCredential);
    /*
     * @Author zsx
     * @Date 2018-09-06 02:09:42
     * @Description 查询资过期数据
     */
    List<BaseCredential> findQualificationOverdue(@Param("type") String type, @Param("overdueStatus") String overdueStatus);
}